from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

with open("requirements.txt", "r", encoding="utf-8") as fh:
    requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]

setup(
    name="hash-storage",
    version="1.0.0",
    author="Hash Storage Team",
    author_email="contact@example.com",
    description="based on hash and MinIO deduplication storage system",
    long_description=long_description,
    long_description_content_type="text/markdown",
    # url="https://github.com/yourusername/hash-storage",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: System :: Archiving",
        "Topic :: Internet :: File Transfer Protocol (FTP)",
    ],
    python_requires=">=3.7",
    install_requires=requirements,
    keywords="minio storage deduplication hash file-storage cloud-storage",
    # project_urls={
    #     "Bug Reports": "https://github.com/yourusername/hash-storage/issues",
    #     "Source": "https://github.com/yourusername/hash-storage",
    #     "Documentation": "https://github.com/yourusername/hash-storage#readme",
    # },
)